package com.atguigu.realtime.sugar.service;

import com.atguigu.realtime.sugar.bean.Visitor;
import com.atguigu.realtime.sugar.mapper.VisitorMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Author lzc
 * @Date 2022/3/29 14:29
 */
@Service
public class VisitorServiceImpl implements VisitorService{
    
    @Autowired
    VisitorMapper visitorMapper;
    
    @Override
    public List<Visitor> visitor(int date) {
        return visitorMapper.visitor(date);
    }
    
}
